package cn.qingfeng.a003_chat_v2_1.message;

import lombok.Data;

@Data
public class ChatRequestMessage extends Message {
    private String fromUsername;
    private String toUsername;
    private String content;

    public ChatRequestMessage(String messageType, String fromUsername, String toUsername, String content) {
        this.setMessageType(messageType);
        this.fromUsername = fromUsername;
        this.toUsername = toUsername;
        this.content = content;
    }
}
